package com.egreen.user.exceptions;

import lombok.Getter;

/**
 * @Author: lyy
 * @Version: 1.0
 * @JDK-version: 1.8
 * @Date: 2022/7/21 14:20
 * @Description:
 */
@Getter
public class ServiceException extends RuntimeException {
    private Integer states;

    public ServiceException(String message, Integer states) {
        super(message);
        this.states = states;
    }
}
